package com.work.service;

import com.work.bean.Student;

import java.util.List;

public interface StudentService {
    Student queryStudentById(Integer id);

    List<Student> queryStudent();

    int saveStudent(Student student);

    int updateStudent(Student student);

    int deleteStudent(Integer id);

    Student query();
}
